package com.mine.test.model;

import graphql.annotations.GraphQLField;
import graphql.annotations.GraphQLType;
import org.springframework.stereotype.Repository;

/**
 * Project Name is testql.
 * User: wwq
 * Date: 2017/6/2
 * Time: 下午12:06
 */
@Repository
@GraphQLType
public class User {
    @GraphQLField
    private  Long id;
    @GraphQLField()
    private  String userName;
    @GraphQLField
    private int age;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }


}
